{% extends 'search/base.html' %}
{% block extra %}
{% load staticfiles %}
<link href="{% static "search/search.css" %}" rel="stylesheet">
<link href="{% static "css/font-awesome.min.css" %}" rel="stylesheet">
<script src="{% static "search/jquery.cookie.js" %}"></script>
<script src="{% static "search/search.js" %}"></script>
<script src="{% static "search/logout.js" %}"></script>
{% endblock %}

{% block content %}
<div class="row">
    <div class="col-sm-10 col-sm-offset-2">
        <span><a id="a0" href="javascript:void(0)" onclick="search_change(0);">搜索全部</a></span>
        <span><a id="a1" href="javascript:void(0)" onclick="search_change(1);">搜人</a></span>
        <span><a id="a2" href="javascript:void(0)" onclick="search_change(2);">搜话题</a></span>
        <span><a id="a3" href="javascript:void(0)" onclick="search_change(3);">搜课程</a></span>
        <span><a id="a4" href="javascript:void(0)" onclick="search_change(4);">搜悬赏</a></span>
    </div>
</div>
<!-- 搜索框 -->
<div style="margin: 20px"></div>
<div class="row">
    <div  class="col-sm-6 col-sm-offset-3">
        <form class="form-inline" role="form">
            {% csrf_token %}
            <input type="hidden" id="index" value="1">
                <div class="form-group">
                    <input  id="keyword" type="text" class="form-control" placeholder="请输入要搜索的内容">
                    <input  id="search_2" type="text" class="btn btn-info" value="搜索">
                </div>
        </form>
    </div>
</div>

<!-- 搜索结果 -->
<div style="margin: 20px"></div>
<div class="row">
    <div  id="result" class="col-sm-6 col-sm-offset-3" style="margin-top: 30px"></div>
</div>

{% endblock  %}
